package ru.matveenko.client;

import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.ui.Label;

public class UnderscoreCursor extends Label {
	
	public UnderscoreCursor() {
		
		Timer curBlinking = new Timer() {
			public void run() {
				if ( getText() == "_" ) {
					setText("");
				} else {
					setText("_");
				}
			}
		};
		curBlinking.scheduleRepeating(500);
		
	}

}
